package com.lcxw.hxzbapi.entity.requestBean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import lombok.Data;

@Data
public class LoginUnionReq {

    @NotBlank(message = "手机号码不能为空")
    @Pattern(regexp = "^\\d{11}$", message = "手机号码格式错误")
    private String telephone;

    @NotBlank(message = "密码不能为空")
    private String password;

}
